
function openSpinnerDialog() {
    window.plugins.spinnerDialog.show(null, null, function(){
        document.getElementById("spinner").innerHTML = "关闭成功";
    });
    setTimeout(function(){
        window.plugins.spinnerDialog.hide();
    }, 3000);
}

function openTitleDialog() {
    window.plugins.spinnerDialog.show("标题", null, function(){
        document.getElementById("spinnerTitle").innerHTML = "关闭成功";
    });
    setTimeout(function(){
        window.plugins.spinnerDialog.hide();
    }, 3000);
}

function openMessageDialog() {
    window.plugins.spinnerDialog.show("标题", "提示信息", function(){
        document.getElementById("spinnerMessage").innerHTML = "关闭成功";
    });
    setTimeout(function(){
        window.plugins.spinnerDialog.hide();
    }, 3000);
}